package cate.game.role.friend.aid.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBFriendAid;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "好友援助的列表请求")
public class FriendAidListReq implements MsgInput {
    @NoteField("功能ID")
    public int funcId;

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().getFriend().getAidList(funcId);
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBFriendAid.LIST_REQ;
    }
}
